package com.zyk.scaffold.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zyk.scaffold.core.domain.PageFilter;
import com.zyk.scaffold.core.domain.PageResult;
import com.zyk.scaffold.user.controller.user.*;
import com.zyk.scaffold.user.entity.User;

import java.util.List;

/**
 * <p>
 * 用户-用户表 服务类
 * </p>
 *
 * @author zhouyk
 * @since 2021-12-06
 */
public interface UserService extends IService<User> {
    User addUser(UserNewRequ userNewRequ, Long userId);

    User getUserByAccount(String account);

    List<User> getUsersByAccounts(List<String> accounts);

    List<UserInfosResp> listUserInfos(String name, String email);

    User getUserByEmail(String email);

    Boolean updatePassword(UpdatePasswordRequ userEnableRequ, Long id);
}
